package com.company;

public class ITDemo implements  IMyInterface<String> {

    public int add(int a,int b){
        return a +b;
    }

    public <T> T add(T a, T b){
        return  a;
    }
    @Override
    public void  show(String name) {
        System.out.println(name);
    }

    public static void main(String[] args) {
        ITDemo itDemo=new ITDemo();
        Integer integer=itDemo.<Integer>add(3,4);
        itDemo.show("A nice day!");
    }
}